.class Limoblife/yogamoment/lite/PlayControl$6;
.super Ljava/lang/Object;
.source "PlayControl.java"

# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Limoblife/yogamoment/lite/PlayControl;->initAllItem()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Limoblife/yogamoment/lite/PlayControl;

.field private final synthetic val$item:Limoblife/yogamoment/lite/PlayControl$Item;


# direct methods
.method constructor <init>(Limoblife/yogamoment/lite/PlayControl;Limoblife/yogamoment/lite/PlayControl$Item;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Limoblife/yogamoment/lite/PlayControl$6;->this$0:Limoblife/yogamoment/lite/PlayControl;

    iput-object p2, p0, Limoblife/yogamoment/lite/PlayControl$6;->val$item:Limoblife/yogamoment/lite/PlayControl$Item;

    .line 460
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCheckedChanged(Landroid/widget/CompoundButton;Z)V
    .locals 2
    .parameter "buttonView"
    .parameter "isChecked"

    .prologue
    .line 466
    if-eqz p2, :cond_1

    .line 468
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$6;->this$0:Limoblife/yogamoment/lite/PlayControl;

    #getter for: Limoblife/yogamoment/lite/PlayControl;->preferences:Ljava/util/Vector;
    invoke-static {v0}, Limoblife/yogamoment/lite/PlayControl;->access$6(Limoblife/yogamoment/lite/PlayControl;)Ljava/util/Vector;

    move-result-object v0

    iget-object v1, p0, Limoblife/yogamoment/lite/PlayControl$6;->val$item:Limoblife/yogamoment/lite/PlayControl$Item;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 470
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$6;->this$0:Limoblife/yogamoment/lite/PlayControl;

    #getter for: Limoblife/yogamoment/lite/PlayControl;->preferences:Ljava/util/Vector;
    invoke-static {v0}, Limoblife/yogamoment/lite/PlayControl;->access$6(Limoblife/yogamoment/lite/PlayControl;)Ljava/util/Vector;

    move-result-object v0

    iget-object v1, p0, Limoblife/yogamoment/lite/PlayControl$6;->val$item:Limoblife/yogamoment/lite/PlayControl$Item;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->addElement(Ljava/lang/Object;)V

    .line 472
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$6;->this$0:Limoblife/yogamoment/lite/PlayControl;

    #getter for: Limoblife/yogamoment/lite/PlayControl;->nopreferences:Ljava/util/Vector;
    invoke-static {v0}, Limoblife/yogamoment/lite/PlayControl;->access$7(Limoblife/yogamoment/lite/PlayControl;)Ljava/util/Vector;

    move-result-object v0

    iget-object v1, p0, Limoblife/yogamoment/lite/PlayControl$6;->val$item:Limoblife/yogamoment/lite/PlayControl$Item;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->removeElement(Ljava/lang/Object;)Z

    .line 484
    :cond_0
    :goto_0
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$6;->val$item:Limoblife/yogamoment/lite/PlayControl$Item;

    iput-boolean p2, v0, Limoblife/yogamoment/lite/PlayControl$Item;->isPreferences:Z

    .line 486
    return-void

    .line 477
    :cond_1
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$6;->this$0:Limoblife/yogamoment/lite/PlayControl;

    #getter for: Limoblife/yogamoment/lite/PlayControl;->preferences:Ljava/util/Vector;
    invoke-static {v0}, Limoblife/yogamoment/lite/PlayControl;->access$6(Limoblife/yogamoment/lite/PlayControl;)Ljava/util/Vector;

    move-result-object v0

    iget-object v1, p0, Limoblife/yogamoment/lite/PlayControl$6;->val$item:Limoblife/yogamoment/lite/PlayControl$Item;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 479
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$6;->this$0:Limoblife/yogamoment/lite/PlayControl;

    #getter for: Limoblife/yogamoment/lite/PlayControl;->preferences:Ljava/util/Vector;
    invoke-static {v0}, Limoblife/yogamoment/lite/PlayControl;->access$6(Limoblife/yogamoment/lite/PlayControl;)Ljava/util/Vector;

    move-result-object v0

    iget-object v1, p0, Limoblife/yogamoment/lite/PlayControl$6;->val$item:Limoblife/yogamoment/lite/PlayControl$Item;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->removeElement(Ljava/lang/Object;)Z

    .line 481
    iget-object v0, p0, Limoblife/yogamoment/lite/PlayControl$6;->this$0:Limoblife/yogamoment/lite/PlayControl;

    #getter for: Limoblife/yogamoment/lite/PlayControl;->nopreferences:Ljava/util/Vector;
    invoke-static {v0}, Limoblife/yogamoment/lite/PlayControl;->access$7(Limoblife/yogamoment/lite/PlayControl;)Ljava/util/Vector;

    move-result-object v0

    iget-object v1, p0, Limoblife/yogamoment/lite/PlayControl$6;->val$item:Limoblife/yogamoment/lite/PlayControl$Item;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->addElement(Ljava/lang/Object;)V

    goto :goto_0
.end method
